package com.scedu.repository;

import com.scedu.entity.Account;
import java.util.List;

public interface AccountRepository {
    public  int save(Account account);
    public  int update(Account account);
    public  int deleteById(long id);
    public List<Account> findALL();
    public Account findById(long id);
    public Account findByName(String name);
    public Account findByIdLong(Long id);
    public Account findByNameAndAge(String name,Integer age);
    public  int count();
    public  Integer countInteger();
    public String findNameById(long id);
}
